﻿<Window x:Class="KINECTMesh.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="768" Width="1280">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="128"/>
            <RowDefinition Height="512"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid Grid.Row="0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="50"/>
                <ColumnDefinition/>
                <ColumnDefinition/>
                <ColumnDefinition/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <CheckBox Name="cbRule" Content="Rule" Grid.Column="0" Checked="cbRule_Checked"/>
            <Label Content="Left Hold" FontSize="36" Grid.Column="1" Grid.Row="0"/>
            <TextBlock Name="tbBLeftC" FontSize="36" Grid.Column="1" Grid.Row="1"/>
            <Label Content="Left Unhold" FontSize="36" Grid.Column="2" Grid.Row="0"/>
            <TextBlock Name="tbBLeftP" FontSize="36" Grid.Column="2" Grid.Row="1"/>
            <Label Content="Right Hold" FontSize="36" Grid.Column="3" Grid.Row="0"/>
            <TextBlock Name="tbBRightC" FontSize="36" Grid.Column="3" Grid.Row="1"/>
            <Label Content="Right Unhold" FontSize="36" Grid.Column="4" Grid.Row="0"/>
            <TextBlock Name="tbBRightP" FontSize="36" Grid.Column="4" Grid.Row="1" />
        </Grid>
        <Image Name="imageDepthStream" Grid.Row="1" />
        <Canvas Name="RootCanvas" Grid.Row="0" Grid.RowSpan="3">
        </Canvas>
        <Canvas Name="MarkingCanvas" Grid.Row="0" Grid.RowSpan="3"/>
        <Grid Grid.Row="1">
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition/>
                <ColumnDefinition/>
                <ColumnDefinition/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
        </Grid>
        <Grid Grid.Row="2">
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <StackPanel Grid.Row="0" Orientation="Horizontal">
                <Label Content="Frame Rate" FontSize="8" VerticalAlignment="Center"/>
                <TextBlock Name="tbFrameRate" Width="120"  FontSize="8" VerticalAlignment="Center"/>
                <Label Content="Left Hand Moving" FontSize="8" VerticalAlignment="Center"/>
                <TextBlock Name="tbLeftHandMoving" Width="120" FontSize="8" VerticalAlignment="Center"/>
                <Label Content="Right Hand Moving" FontSize="8" VerticalAlignment="Center"/>
                <TextBlock Name="tbRightHandMoving" Width="120" FontSize="8" VerticalAlignment="Center"/>
            </StackPanel>
            <StackPanel Grid.Row="1" Orientation="Horizontal">
                <Label Content="Left Hand" VerticalAlignment="Top" FontSize="8"/>
                <TextBlock Name="tbLeftHand" Width="300" FontSize="8"/>
                <Label Content="Left Tekubi" VerticalAlignment="Top" FontSize="8" />
                <TextBlock Name="tbLeftTekubi" Width="300" FontSize="8"/>
                <Label Content="Left Elbow" VerticalAlignment="Top"  FontSize="8"/>
                <TextBlock Name="tbLeftElbow" Width="300" FontSize="8"/>
            </StackPanel>
            <StackPanel Grid.Row="2" Orientation="Horizontal">
                <Label Content="Right Hand" VerticalAlignment="Top" FontSize="8"/>
                <TextBlock Name="tbRightHand" Width="300" FontSize="8"/>
                <Label Content="Right Tekubi" VerticalAlignment="Top" FontSize="8"/>
                <TextBlock Name="tbRightTekubi" Width="300" FontSize="8"/>
                <Label Content="Right Elbow" VerticalAlignment="Top" FontSize="8"/>
                <TextBlock Name="tbRightElbo" Width="300" FontSize="8"/>
            </StackPanel>
        </Grid>
    </Grid>
</Window>
